package com.cdut.beans;

public class Student {
    private Long  id;
    private String name;
    private Integer age;
    private String sex;
    private String none;
    private String none1;

    public Student() {

    }

    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getName(){
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }
    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Student( String name, int age, String sex) {
        super();
        this.age=age;
        this.name=name;
        this.sex=sex;
        // TODO Auto-generated constructor stub
    }
    @Override
    public String toString() {
        // TODO Auto-generated method stub
        System.out.println("id="+id+",name="+name+",age="+age+",sex="+sex);
        return super.toString();
    }
}
